/**
 * cn.ucox.web.application.config.AppConfig
 *
 * @author chenw
 * @create 16/2/3.12:27
 * @email javacspring@hotmail.com
 */

package cn.com.oceansoft.application.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * 应用属性配置
 *
 * @author chenw
 * @time 16/2/3 12:27
 * @email javacspring@gmail.com
 */
//@Configuration

public class AppConfig {

    private static final Logger logger = LoggerFactory.getLogger(AppConfig.class);

    @Bean
    public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
        logger.info("初始化PropertySourcesPlaceholderConfigurer成功!");
        return new PropertySourcesPlaceholderConfigurer();
    }
}
